package com.example.designModel.buid.process;

import java.awt.*;

public class PersonThinBuilder extends PersonBuilder {

    public PersonThinBuilder(Graphics2D g, Shape shape) {
        super(g, shape);
    }

    @Override
    public void BuildHead() {
        g.drawOval(50,20,30,30);
    }

    @Override
    public void BuildBody() {
        g.drawRect(60,50,10,50);
    }

    @Override
    public void BuildArmLeft() {
        g.drawLine(60,50,40,100);
    }

    @Override
    public void BuildArmRight() {
        g.drawLine(70,50,90,100);
    }

    @Override
    public void BuildLegLeft() {
        g.drawLine(60,100,45,150);
    }

    @Override
    public void BuildLegRight() {
        g.drawLine(70,100,85,150);
    }
}
